<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let h = prompt("请输入华氏度");
        let y = 5/9*(h- 32);
        console.log("答：华氏度为"+ h +"摄氏度为" + y)
    </script>
</body>
</html>